<?php

/**
 * content actions.
 *
 * @package    PROJECT_NAME
 * @subpackage content
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class contentActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */

public function executeIndex($request)
  {

   echo '<h3> Change Password  <h3> ';
    $this->form = new ContactForm();
  
    if ($request->isMethod('post'))
    {
       $this->form->bind($request->getParameter('contact'));

      if ($this->form->isValid())
{
  
 $this->redirect('content/thankyou?'.http_build_query($this->form->getValues()));

}
     
    }
  }

 
 
  public function executeThankyou()
  {
  }

   public function executeInfo()
  {
                   
  }


public function executeHomepage()
  {

  }
public function executeInfo2()
  {

  }

public function executeChangeinfo()
  {
$this->form = new sfForm();

  }
public function executeTimetable()
  {

  }
public function executeCurrentcourse()
  {

  }
public function executePreviouscourse()
  {

  }

public function executeCoursefile()
{
}

public function executeLecture()
{
}
public function executeAssignment()
{
}
public function executeQuizze()
{
}
public function executeMidterm()
{
}

public function executeLogin($request)
{
  $this->form = new sfForm();
  $this->form->setWidgets(array(
    'name'    => new sfWidgetFormInputText(),
    'pass'    => new sfWidgetFormInputText(),
  ));
}


}

 